package com.niit.TopOne.schooltopone;


import com.niit.bean.StudentBean;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;


public class SchoolTopOneReducer extends Reducer<StudentBean, NullWritable,StudentBean,NullWritable> {

    @Override
    protected void reduce(StudentBean key, Iterable<NullWritable> values, Context context) throws IOException, InterruptedException {
        context.write(key,NullWritable.get());
    }

}
